package com.patttern.creativity.factory.factorymethod;

/**
 * @Author: root
 * @Date: 2018/12/3 0:29
 */
public class Client {
    public static void main(String[] args) {
        Car car = new AudiFactory().createCar();
        car.run();
        Car car1 = new BydFactory().createCar();
        car1.run();
    }
}
